package com.example.demo.chapter3;

public class Test {


    public Holder holder;

    public void initialize(){
        holder = new Holder(42);
    }

    public static void main(String[] args) throws InterruptedException {
        String latain = "abc";
        String utf16s = "王abc争";
        System.out.println(latain.getBytes().length);
        System.out.println(utf16s.getBytes().length);
    }


    public static void compare(Integer i, Integer j){
        Integer i1 = i + 1;
        Integer j1 = i+1;
        System.out.println(i1 == j1);
    }
}
